package com.mallcai.bigdata.ladon.vo;

import lombok.Data;
import org.springframework.jdbc.core.ParameterizedPreparedStatementSetter;
import org.springframework.jdbc.core.PreparedStatementCallback;

import java.io.Serializable;
import java.util.Collection;

/**
 * @author feixy
 * @version 1.0
 * @date 2019-07-13 10:00
 */
@Data
public class BatchUpdateParam<T> implements Serializable {

    private String sql;

    private Collection<T> paramList;

    private int batchSize;

    private ParameterizedPreparedStatementSetter<T> parameterizedSetter;
}
